Skip to content

Conversation

@webmaster128
Copy link
Member

Turns out the Rust standard library add the functions from #2098 under a different name. See rust-lang/rust#118260. Since this was not yet release, we can use those names too.

@webmaster128 webmaster128 requested a review from chipshort April 11, 2024 16:05
Copy link
Contributor

@chipshort chipshort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, didn't know about these in Rust std

@webmaster128 webmaster128 merged commit 3b59561 into main Apr 11, 2024
@webmaster128 webmaster128 deleted the rename-to-strict_ branch April 11, 2024 22:04
@webmaster128
Copy link
Member Author

@mergify backport release/2.0 release/1.5 release/1.4

@mergify
Copy link
Contributor

mergify bot commented Apr 11, 2024

backport release/2.0 release/1.5 release/1.4

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request Apr 11, 2024
(cherry picked from commit 3b59561)

# Conflicts:
#	CHANGELOG.md
mergify bot pushed a commit that referenced this pull request Apr 11, 2024
(cherry picked from commit 3b59561)

# Conflicts:
#	CHANGELOG.md
mergify bot pushed a commit that referenced this pull request Apr 11, 2024
(cherry picked from commit 3b59561)

# Conflicts:
#	CHANGELOG.md
#	packages/std/src/math/uint128.rs
#	packages/std/src/math/uint256.rs
#	packages/std/src/math/uint512.rs
#	packages/std/src/math/uint64.rs
webmaster128 added a commit that referenced this pull request Apr 15, 2024
* Rename math functions to strict_add/strict_sub (#2107)

(cherry picked from commit 3b59561)

# Conflicts:
#	CHANGELOG.md
#	packages/std/src/math/uint128.rs
#	packages/std/src/math/uint256.rs
#	packages/std/src/math/uint512.rs
#	packages/std/src/math/uint64.rs

* Fix test code from merge

* Fix CHANGELOG

---------

Co-authored-by: Simon Warta <[email protected]>
Co-authored-by: Simon Warta <[email protected]>
webmaster128 added a commit that referenced this pull request Apr 15, 2024
* Rename math functions to strict_add/strict_sub (#2107)

(cherry picked from commit 3b59561)

# Conflicts:
#	CHANGELOG.md

* Fix CHANGELOG

---------

Co-authored-by: Simon Warta <[email protected]>
Co-authored-by: Simon Warta <[email protected]>
webmaster128 added a commit that referenced this pull request Apr 15, 2024
* Rename math functions to strict_add/strict_sub (#2107)

(cherry picked from commit 3b59561)

# Conflicts:
#	CHANGELOG.md

* Fix CHANGELOG

* Add ### Changed section to Unreleased CHANGELOG

---------

Co-authored-by: Simon Warta <[email protected]>
Co-authored-by: Simon Warta <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants